{literal}
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
    $("#details").hide();
	$("#hide").hide();
	
	$("#show").click(function () {
		$("#hide").show("slide", {direction: "down"}, 1000);
		$("#details").show("slide", {direction: "down"}, 1000);
		$(this).hide("slide", {direction: "up"}, 1000);
    });
	
	$("#hide").click(function () {
		$("#show").show("slide", {direction: "down"}, 1000);
		$("#details").hide("slide", {direction: "up"}, 1000);
		$(this).hide("slide", {direction: "up"}, 1000);
    });	
});
//]]>
</script>
{/literal}
<div class="blockform">
	<h2 class="teamList"><span>{@havefnu~teams.the.teams@}</span></h2>
	<div class="box" id="filtersBox">
	{foreach $teams as $team}
        <div class="fakeform">
            <fieldset>
    			<legend>{$team->team_name|escxml}{ifacl2 "hfn.adminteam.edit"} - <span class="edit"><a class="edit" href="{jurl 'havefnu~team:admin_edit',array('id'=>$team->id_team)}" title="{$team->team_name|escxml}">{@havefnu~teams.edit.this.team@}</a></span>{/ifacl2}</legend>
				<div id="show">Details</div>
				<div id="hide">Details</div>
                <div class="two-cols">
                    <p class="col">
						<strong>{@havefnu~teams.tag@}</strong> : <label>{$team->team_tag}</label><br/>
					</p>
					<p class="col">
						<strong>{@havefnu~teams.section@}</strong> : <label> {$team->section_name|escxml}</label><br/>
					</p>
				</div>
				<div id="details">			
                <div>                   
        			{if $team->team_level != ''}
					<p class="col">			
        			<strong>{@havefnu~teams.level@}</strong> : <label> {$team->team_level|escxml}</label><br/>
					</p>
        			{/if}					
        			{if $team->team_leitmotiv != '' }
					<p class="col">			
        			<strong>{@havefnu~teams.leitmotiv@}</strong> : <label> {$team->team_leitmotiv|escxml}</label><br/>
					</p>
        			{/if}
        			{if $team->team_description != '' }
					<p class="col">			
        			<strong>{@havefnu~teams.description@}</strong> : <label> {$team->team_description|escxml}</label><br/>
					</p>
        			{/if}
        			{if $team->team_irc != '' }
					<p class="col">
        			<strong>{@havefnu~teams.channel.irc@}</strong> : <label> {$team->team_irc|escxml}</label><br/>
					</p>
        			{/if}
        			{if $team->team_logo != '' }
					<p class="col">			
        			<strong>{@havefnu~teams.logo@}</strong> : <label> {$team->team_logo}</label><br/>
					</p>
        			{/if}
        			{if $team->team_ban != '' }
					<p class="col">			
        			<strong>{@havefnu~teams.ban@}</strong> : <label> {$team->team_ban}</label><br/>
					</p>
        			{/if}
					{if $team->team_server !='' }
					<p class="col">			
					<strong>{@havefnu~teams.server@}</strong> : <label> {$team->team_server}:{$team->team_port}</label><br/>
					</p>
					{/if}
				</div>
			{zone 'havefnu~members',array('id_team'=>$team->id_team)}
				</div>
    		</fieldset>
        </div>        
	{/foreach}       
    </div>
</div>	